home *** CD-ROM | disk | FTP | other *** search
/ 3D Game Programming All in One / 3D Game Programming All in One Disc.iso / 3D2E / RESOURCES / CH5 / EMAGA5 / control / client / interfaces / messagebox.gui < prev   
Text File  |  2006-09-17  |  3KB  |  48 lines

  1. new GuiControl(MessageBox)                             
  2. {                                                      
  3.    profile = "GuiDefaultProfile";                      
  4.    horizSizing = "width";                              
  5.    vertSizing = "height";                              
  6.    position = "0 0";                                   
  7.    extent = "640 480";                                 
  8.    minExtent = "8 8";                                  
  9.    visible = "0";                                      
  10.    noCursor = true;                                    
  11.                                                        
  12.    new GuiControl(MessageBox_Frame)                    
  13.    {                                                   
  14.       profile = "GuiDefaultProfile";                   
  15.       horizSizing = "right";                           
  16.       vertSizing = "bottom";                           
  17.       position = "120 375";                            
  18.       extent = "400 24";                               
  19.       minExtent = "8 8";                               
  20.       visible = "1";                                   
  21.                                                        
  22.       new GuiTextCtrl(MessageBox_Text)                 
  23.       {                                                
  24.          profile = "GuiTextProfile";                   
  25.          horizSizing = "right";                        
  26.          vertSizing = "bottom";                        
  27.          position = "6 5";                             
  28.          extent = "10 22";                             
  29.          minExtent = "8 8";                            
  30.          visible = "1";                                
  31.       };                                               
  32.                                                        
  33.       new GuiTextEditCtrl(MessageBox_Edit)             
  34.       {                                                
  35.          profile = "GuiTextEditProfile";               
  36.          horizSizing = "right";                        
  37.          vertSizing = "bottom";                        
  38.          position = "0 5";                             
  39.          extent = "10 22";                             
  40.          minExtent = "8 8";                            
  41.          visible = "1";                                
  42.          altCommand = "$ThisControl.eval();";          
  43.          escapeCommand = "MessageBox_Edit.onEscape();";
  44.          historySize = "5";                            
  45.          maxLength = "120";                            
  46.       };                                               
  47.    };                                                  
  48. };